<div class="wide form">
    <table>
    <?php $form=$this->beginWidget('CActiveForm', array(
        'action'=>Yii::app()->createUrl($this->route),
        'method'=>'get',
        'id' => 'frmSearch'
    )); ?>
        <tr>
            <td class="alignLeft">
                <?php echo Yii::t('BackEnd','Name'); ?>:
                <?php echo $form->textField($model,'name',array('size'=>40,'maxlength'=>255)); ?>

                <?php echo Yii::t('BackEnd','Type'); ?>:
                <?php echo $form->dropDownList($model,'type',Menu::model()->dumpTypeArray(Yii::t('BackEnd', '-- All --')),array('onchange'=>'javascript:$("#frmSearch").submit();','style'=>'width:250px;')); ?>
                
                <?php echo Yii::t('BackEnd','Status'); ?>
                <?php echo $form->dropDownList($model,'status',array(''=>Yii::t('BackEnd', '-- All --'), Menu::STATUS_ENABLED=>Yii::t('BackEnd', 'Enabled'), Menu::STATUS_DISABLED=>Yii::t('BackEnd', 'Disabled')),array('style'=>'width:250px;','onchange'=>'javascript:$("#frmSearch").submit();')); ?>

                <?php echo CHtml::submitButton(Yii::t('Global', 'Search')); ?>
            </td>
        </tr>
</table>
<?php $this->endWidget(); ?>
</div><!-- search-form -->